from django.urls import path

from  . import views,userinfo

app_name = 'Duban'
urlpatterns = [
    path('signUp', views.singUp, name='signUp'),
    path('signIn', views.singIn, name='signIn'),
    path('videoList', views.videolist, name='video'),
    path('myVideoList', views.myVideolist, name='myVideolist'),
    path('likeVideo', views.likeVideo, name='likeVideo'),
    path('unlikeVideo', views.unlikeVideo, name='unlikeVideo'),
    path('commentList', views.commentList, name='commentList'),
    path('articleCommentList', views.articleCommentList, name='articleCommentList'),
    path('addComment', views.addComment, name='addComment'),
    path('deleteComment', views.deleteComment, name='deleteComment'),
    path('createArticle', views.createArticle, name='createArticle'),
    path('articleList', views.articleList, name='articleList'),
    path('userArticleList', views.userArticleList, name='userArticleList'),
    path('updateUser', userinfo.updateUser, name='updateUser'),
]